home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / ip / ppp / pc / etherppp.commands.Z / etherppp.commands
Encoding:
Text File  |  1994-08-25  |  6.6 KB  |  208 lines

  1. This implementation of PPP is designed to be as complete as  pos-
  2. sible.   Because  of  this,  the  number of options can be rather
  3. daunting.  However, a typical PPP configuration might include the
  4. following commands:
  5.  
  6.         ppp quick
  7.         ppp lcp open
  8.  
  9.  
  10. 3.42.2.  ppp quick
  11.  
  12. Quick setup for the PPP link.  By popular demand, this command is
  13. a shortcut for the following commands:
  14.  
  15.         ppp ipcp local compress tcp 16 1
  16.         ppp ipcp open
  17.         ppp lcp local accm 0
  18.         ppp lcp local acfc on
  19.         ppp lcp local pfc on
  20.         ppp lcp local magic on
  21.  
  22. 3.42.3.  ppp lcp ...
  23.  
  24. These commands are used for the LCP [Link Control Protocol]  con-
  25. figuration.
  26.  
  27. 3.42.3.1.  ppp lcp close
  28.  
  29. Shutdown the PPP interface.
  30.  
  31. 3.42.3.2.  ppp lcp local ...
  32.  
  33. These commands control the configuration of the local side of the
  34. link.   If an option is specified, the parameters will be used as
  35. the initial values in configuration requests.  If not  specified,
  36. that option will not be requested.
  37.  
  38. For each of these options, the allow parameter  will  permit  the
  39. remote  to  include  that  option  in its response, even when the
  40. option is not included in the request.  By default,  all  options
  41. are allowed.
  42.  
  43. 3.42.3.2.1.  ppp lcp local accm [ <bitmap> | allow [on  |
  44. off] ]
  45.  
  46. Display or set the Async Control Character Map.  The  default  is
  47. 0xffffffff.
  48.  
  49. 3.42.3.2.2.  ppp lcp local authenticate [ pap  |  none  |
  50. allow [on | off] ]
  51.  
  52. Display or set the authentication protocol.  The default is none.
  53.  
  54. 3.42.3.2.3.  ppp lcp local acfc [ on | off | allow [on  |
  55. off] ]
  56.  
  57. Display or set the option to compress  the  address  and  control
  58. fields  of the PPP HLDC-like header.  This is generally desirable
  59. for slow asynchronous links, and undesirable for fast or synchro-
  60. nous links.  The default is off.
  61.  
  62. 3.42.3.2.4.  ppp lcp local pfc [ on | off | allow  [on  |
  63. off] ]
  64.  
  65. Display or set the option to compress the protocol field  of  the
  66. PPP HLDC-like header.  This is generally desirable for slow asyn-
  67. chronous links, and undesirable for fast  or  synchronous  links.
  68. The default is off.
  69.  
  70. 3.42.3.2.5.  ppp lcp local magic [ on | off |  <value>  |
  71. allow [on | off] ]
  72.  
  73. Display or set the initial Magic  Number.   The  default  is  off
  74. (zero).
  75.  
  76. 3.42.3.2.6.  ppp lcp local mru [ <size>  |  allow  [on  |
  77. off] ]
  78.  
  79. Display or set the Maximum Receive Unit.  The default is 1500.
  80.  
  81. 3.42.3.2.7.  ppp lcp local default
  82.  
  83. Reset the options to their default values.
  84.  
  85. 3.42.3.3.  ppp lcp listen
  86.  
  87. Wait for the physical layer to come up, then wait for  configura-
  88. tion negotiation from the remote.  The open command is preferred.
  89.  
  90. 3.42.3.4.  ppp lcp open
  91.  
  92. Wait for the physical layer to come up, then initiate  configura-
  93. tion negotiation.
  94.  
  95. 3.42.3.5.  ppp lcp remote ...
  96.  
  97. These commands control the configuration of the  remote  side  of
  98. the  link.  The options are identical to those of the local side.
  99. If an option  is  specified,  the  parameters  will  be  used  in
  100. responses  to the remote's configuration requests.  If not speci-
  101. fied, that option will be accepted if it is allowed.
  102.  
  103. For each of these options, the allow parameter  will  permit  the
  104. remote  to  specify  that option in its request.  By default, all
  105. options are allowed.
  106.  
  107. 3.42.3.6.  ppp lcp timeout [<seconds>]
  108.  
  109. Display or set the interval to wait between configuration or ter-
  110. mination attempts.  The default is 3 seconds.
  111.  
  112. 3.42.3.7.  ppp lcp try ...
  113.  
  114. These commands are used for the various counters.
  115.  
  116. 3.42.3.7.1.  ppp lcp try configure [<count>]
  117.  
  118. Display or set the number of configuration  requests  sent.   The
  119. default is 20.
  120.  
  121. 3.42.3.7.2.  ppp lcp try failure [<count>]
  122.  
  123. Display or set the number of bad configuration  requests  allowed
  124. from the remote.  The default is 10.
  125.  
  126. 3.42.3.7.3.  ppp lcp try terminate [<count>]
  127.  
  128. Display or set the number of  termination  requests  sent  before
  129. shutdown.  The default is 2.
  130.  
  131. 3.42.4.  ppp ipcp ...
  132.  
  133. These commands are used for the IPCP [Internet  Protocol  Control
  134. Protocol] configuration.
  135.  
  136. The close, listen, open, timeout and try sub-commands are identi-
  137. cal to the LCP (described above).
  138.  
  139. 3.42.4.1.  ppp ipcp local ...
  140.  
  141. These commands control the configuration of the local side of the
  142. link.   If an option is specified, the parameters will be used as
  143. the initial values in configuration requests.  If not  specified,
  144. that option will not be requested.
  145.  
  146. For each of these options, the allow parameter  will  permit  the
  147. remote  to  include  that  option  in its response, even when the
  148. option is not included in the request.  By default,  all  options
  149. are allowed.
  150.  
  151. 3.42.4.1.1.  ppp ipcp local address [  <hostid>  |  allow
  152. [on | off] ]
  153.  
  154. Display or set the local address for negotiation purposes.  If an
  155. address of 0 is specified, the other side of the link will supply
  156. the address.  By default, no addresses are negotiated.
  157.  
  158. 3.42.4.1.2.  ppp   ipcp  local  compress  [  tcp  <slots>
  159. [<flag>] | none | allow [on | off] ]
  160.  
  161. Display or set the compression protocol.  The default is none.
  162.  
  163. The tcp <slots> specifies the  number  of  "conversation"  slots,
  164. which must be 1 to 255.  (This may be limited at compilation time
  165. to a smaller number.) A good choice is in the range 4 to 16.
  166.  
  167. The tcp <flag> is 0 (don't compress the slot number) or 1 (OK  to
  168. compress  the  slot  number).   KA9Q  can  handle compressed slot
  169. numbers, so the default is 1.
  170.  
  171. 3.42.4.2.  ppp ipcp remote ...
  172.  
  173. These commands control the configuration of the  remote  side  of
  174. the  link.  The options are identical to those of the local side.
  175. If an option  is  specified,  the  parameters  will  be  used  in
  176. responses  to the remote's configuration requests.  If not speci-
  177. fied, that option will be accepted if it is allowed.
  178.  
  179. For each of these options, the allow parameter  will  permit  the
  180. remote  to  specify  that option in its request.  By default, all
  181. options are allowed.
  182.  
  183. 3.42.5.  ppp pap ...
  184.  
  185. These commands are used for the PAP [Password Authentication Pro-
  186. tocol] configuration.
  187.  
  188. The timeout  and  try  sub-commands  are  identical  to  the  LCP
  189. (described above).  However, the terminate counter is unused.
  190.  
  191. 3.42.5.1.  ppp pap user [ <username> [<password>] ]
  192.  
  193. Display or set the username (the password may  be  set,  but  not
  194. displayed).   When  the username is specified, but no password is
  195. supplied, the ftpusers file is searched for the password.  When a
  196. username/password  is  unknown or rejected, a session will appear
  197. at the console to prompt for a new username/password.
  198.  
  199. 3.42.6.  ppp trace [<flags>]
  200.  
  201. Display or set the flags that control the logging of  information
  202. during PPP link configuration.
  203.  
  204. The flag value is 0 for none, 1 for basic,  and  2  for  general.
  205. Values greater than 2 are usually not compiled, and are described
  206. in the appropriate source files where they are defined.
  207.  
  208.